use axum::{
    body::Body,
    http::Request,
    middleware::{self, Next},
    response::Response,
};

async fn logging_middleware(req: Request<Body>, next: Next<Body>) -> Response {
    println!("Received a request to {}", req.uri());
    next.run(req).await
}
